package coder.user.entity;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user_order")
public class Order extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userId;

    private String goodsName;

    private String description;

    private BigDecimal weight;

    private BigDecimal tips;

    private Integer typeId;

    private String typeName;

    private String picture;

    private String remark;

    private String takeAddressId;

    private String receiveAddressId;

    private Integer state;

    private Integer isDelete;

    private String receiveUser;

    private String receivePhone;

    private String receivePhoto;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String receiveTime;
}
